<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript">
	$(document).ready(function(){
		 //增加隔行变色效果
  	     $(".listtable").zebra();
		 //加载所有部门数据
		 $('#framework_department_modify_pdeptId').combotree({
			url:'${pageContext.request.contextPath}/systemManagerAction!getEtlDepartmentData.action?status=1',
			parentField : 'pid',
   			lines : true,
   			required: true,
   			onLoadSuccess:function(){
   			 var value=$("#framework_department_modify_pdeptId").combotree("getText");
   			 $("#framework_department_modify_divId_pdeptId").text(value);
   			}
  	 	 });
		 
	});

</script>


<form id="framework_department_modify_editMenu" method="post">
  <table border="0" cellpadding="0" cellspacing="0" height="100%"  width="100%" class="listtable">
       <tr>
	      <td height="40px" nowrap="nowrap">&nbsp;部门编码：&nbsp;</td>
	      <td height="40px">
	          <div id="framework_department_modify_pnewdeptId" >${department.deptId}</div>
	          <input type="hidden" value="${department.deptId}" name="newdeptId"/>
	      </td>
	      <td height="40px" nowrap="nowrap"><span style="color:red;font-size:15px">*</span>上级部门名称：&nbsp;</td>
	      <td height="40px">
	        <div id="framework_department_modify_divId_pdeptId"></div>
	        <div style="display: none"><input id="framework_department_modify_pdeptId" value="${department.pdeptId}"  name="pdeptId" style="width:150px;" /></div>
	      </td>
       </tr>
        <tr>
	      <td height="40px" nowrap="nowrap"><span style="color:red;font-size:15px">*</span>部门名称：&nbsp;</td>
	      <td height="40px"><input type="text" id="framework_department_modify_deptName" value="${department.deptName}"  name="deptName" class="easyui-validatebox" data-options="required:true,missingMessage:'部门名称必须填写'" style="width:150px"/></td>
	      <td height="40px" nowrap="nowrap"><span style="color:red;font-size:15px">*</span>部门简称：&nbsp;</td>
	      <td height="40px"><input id="framework_department_modify_deptEnName" type="text" name="deptEnName" value="${department.deptEnName}" class="easyui-validatebox" data-options="required:true,missingMessage:'部门简称必须填写'" style="width:150px;" /></td>
        </tr>
         <tr>
	      <td height="40px" nowrap="nowrap">&nbsp;部门描述：&nbsp;</td>
	      <td height="40px" colspan="3">
	        <textarea id="framework_department_modify_deptDEsc" name="deptDesc" class="easyui-validatebox" data-options="required:false,validType:'length[0,30]'" style="width:440px;height:60px;">${department.deptDesc}</textarea>
          </td>
        </tr>
  </table>
</form>
